package com.cn.coupon.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "优惠券状态")
public class Status {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "优惠券标题")
    private Integer coupon_id;

    @ApiModelProperty(value = "优惠券标题")
    private String img;

    @ApiModelProperty(value = "优惠券标题")
    private String name;

    @ApiModelProperty(value = "优惠券类型")
    private String type;

    @ApiModelProperty(value = "优惠券状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private String create_time;

    @ApiModelProperty(value = "更新时间")
    private String update_time;

    @ApiModelProperty(value = "开始时间")
    private String start_time;

    @ApiModelProperty(value = "结束时间")
    private String end_time;

    @ApiModelProperty(value = "优惠额度")
    private BigDecimal coupon_amount;

    @ApiModelProperty(value = "使用说明")
    private String explain;
}
